<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./swiper-4.4.2/dist/css/swiper.css">
  <style>
    body {
      margin: 0;
    }

    .swiper-wrapper {
      width: 100px;
      height: 30px;
      text-align: center;
      line-height: 30px;
    }

    .swiper-slide {
      background: #ccc;
    }

    .sanjiao {
      width: 0;
      height: 0;
      border-top: 30px solid transparent;
      border-bottom: 30px solid transparent;
      border-left: 30px solid red;
    }
  </style>
</head>

<body>
  <div class="sanjiao">

  </div>
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide">I</div>
      <div class="swiper-slide">love</div>
      <div class="swiper-slide">you</div>
    </div>
  </div>
  <script src="./swiper-4.4.2/dist/js/swiper.js"></script>
  <script>
    new Swiper('.swiper-container', {
      direction: 'vertical',
      autoplay: true
    })

  </script>
</body>

</html>